:: It is recommended to test the script on a local machine for its purpose and effects. :: ManageEngine Desktop Central will not be responsible for any :: damage/loss to the data/setup based on the behavior of the script. :: Description - Script to check Proxy Settings :: Remarks - Enable Logging option must be selected to view result :: Configuration Type - USER :: =========================================================================================================================== @echo off FOR /F "tokens=3" %%i in ('reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable ^| find "ProxyEnable"') do set enable=%%i FOR /F "tokens=3" %%i in ('reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer ^| find "ProxyServer"') do set server=%%i FOR /F "tokens=3" %%i in ('reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyOverride ^| find "ProxyOverride"') do set excep="%%i" if %enable% == 0x1 ( Echo Proxy Enabled Echo Proxy Server: %server% Echo Exceptions: %excep% ) else ( Echo Proxy Not Enabled )